g++ testzookeeper.cpp zookeeperutil.cc -o test
./test